<html>
<head><meta charset="utf-8"><title>Meaning of CastTarget.prefix_chunk · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Meaning.20of.20CastTarget.2Eprefix_chunk.html">Meaning of CastTarget.prefix_chunk</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="216743715"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Meaning%20of%20CastTarget.prefix_chunk/near/216743715" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Meaning.20of.20CastTarget.2Eprefix_chunk.html#216743715">(Nov 14 2020 at 18:47)</a>:</h4>
<p>What does <code>CastTarget.prefix_chunk</code> signify? I would have expected the cumulative size of the prefix, but the <code>.size</code> impl suggests the size of a single entry in the prefix array. <a href="https://github.com/rust-lang/rust/blob/30e49a9ead550551e879af64ba91a0316da1c422/compiler/rustc_target/src/abi/call/mips64.rs#L140">https://github.com/rust-lang/rust/blob/30e49a9ead550551e879af64ba91a0316da1c422/compiler/rustc_target/src/abi/call/mips64.rs#L140</a> then makes me more confused. Especially because of the comment.</p>



<a name="216743824"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Meaning%20of%20CastTarget.prefix_chunk/near/216743824" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Meaning.20of.20CastTarget.2Eprefix_chunk.html#216743824">(Nov 14 2020 at 18:49)</a>:</h4>
<p>cc <span class="user-mention" data-user-id="119009">@eddyb</span>?</p>



<a name="216780615"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Meaning%20of%20CastTarget.prefix_chunk/near/216780615" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Meaning.20of.20CastTarget.2Eprefix_chunk.html#216780615">(Nov 15 2020 at 09:04)</a>:</h4>
<p>Figured it out. It is the size of the individual prefix chunks.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>